@font-face {
  font-family: 'RedHatText';
  src: url('@patternfly/react-core/dist/styles/assets/fonts/RedHatText/RedHatText-Italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'RedHatText';
  src: url('@patternfly/react-core/dist/styles/assets/fonts/RedHatText/RedHatText-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'RedHatText';
  src: url('@patternfly/react-core/dist/styles/assets/fonts/RedHatText/RedHatText-Medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'RedHatText';
  src: url('@patternfly/react-core/dist/styles/assets/fonts/RedHatText/RedHatText-Bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'RedHatDisplay';
  src: url('@patternfly/react-core/dist/styles/assets/fonts/RedHatDisplay/RedHatDisplay-Italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'RedHatDisplay';
  src: url('@patternfly/react-core/dist/styles/assets/fonts/RedHatDisplay/RedHatDisplay-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'RedHatDisplay';
  src: url('@patternfly/react-core/dist/styles/assets/fonts/RedHatDisplay/RedHatDisplay-Medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'RedHatDisplay';
  src: url('@patternfly/react-core/dist/styles/assets/fonts/RedHatDisplay/RedHatDisplay-Bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  text-rendering: optimizeLegibility;
}

@mixin PatternFlySansSerif {
  --font-sans-serif: 'RedHatText';
  --font-sans-serif-title: 'RedHatDisplay';
}
